package topo.action;

import com.zhtelecom.common.topograph.TopoGraphView;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;

public class SetLinkStartAction extends AbstractAction {
    public void actionPerformed(ActionEvent e) {
        TopoGraphView topoView = (TopoGraphView) getValue("ActionDataTopoview");
        topoView.setLinkSource(topoView.getSelectedNode());
    }

    public SetLinkStartAction() {
        super("设置连接起点");
    }
}